<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Protocols  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset="utf-8">
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
    <script src="js/lunr.min.js" defer></script>
    <script src="js/typeahead.jquery.js" defer></script>
    <script src="js/jazzy.search.js" defer></script>
  </head>
  <body>

    <a name="//apple_ref/swift/Section/Protocols" class="dashAnchor"></a>

    <a title="Protocols  Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="index.html">
          Hero 1.6.1 Docs
        </a>
         (24% documented)
      </p>
    
      <p class="header-col--secondary">
        <form role="search" action="search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/HeroTransitions/Hero/">
            <img class="header-icon" src="img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="dash-feed://https%3A%2F%2Fherotransitions.github.io%2FHero%2Fdocsets%2FHero.xml">
            <img class="header-icon" src="img/dash.png"/>
            Install in Dash
          </a>
        </p>
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="index.html">Hero Reference</a>
      <img class="carat" src="img/carat.png" />
      Protocols  Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/BinaryOpNode.html">BinaryOpNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/CallNode.html">CallNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/ExprNode.html">ExprNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/FunctionNode.html">FunctionNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/Hero.html">Hero</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroContext.html">HeroContext</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroDebugPlugin.html">HeroDebugPlugin</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroDebugPlugin.html">HeroDebugPlugin</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroExtension.html">HeroExtension</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroModifier.html">HeroModifier</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroPlugin.html">HeroPlugin</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/HeroTransition.html">HeroTransition</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/Lexer.html">Lexer</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/NumberNode.html">NumberNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/Parser.html">Parser</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/PrototypeNode.html">PrototypeNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/VariableNode.html">VariableNode</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/CascadeDirection.html">CascadeDirection</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroCoordinateSpace.html">HeroCoordinateSpace</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroDefaultAnimationType.html">HeroDefaultAnimationType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroDefaultAnimationType/Direction.html">– Direction</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroDefaultAnimationType/Strategy.html">– Strategy</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroSnapshotType.html">HeroSnapshotType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroTransitionState.html">HeroTransitionState</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/HeroViewOrderingStrategy.html">HeroViewOrderingStrategy</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/ParseError.html">ParseError</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Enums/Token.html">Token</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/CAMediaTimingFunction.html">CAMediaTimingFunction</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/CATransform3D.html">CATransform3D</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/HeroDebugView.html">HeroDebugView</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UINavigationController.html">UINavigationController</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UINavigationController.html">UINavigationController</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UITabBarController.html">UITabBarController</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UIView.html">UIView</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UIViewController.html">UIViewController</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Functions.html">Functions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Functions.html#/s:4Hero2eeoiySbAA8ExprNodeC_ADtF">==(_:_:)</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroAnimator.html">HeroAnimator</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroCompatible.html">HeroCompatible</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroCustomSnapshotView.html">HeroCustomSnapshotView</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroPreprocessor.html">HeroPreprocessor</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroProgressUpdateObserver.html">HeroProgressUpdateObserver</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroStringConvertible.html">HeroStringConvertible</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroTransitionDelegate.html">HeroTransitionDelegate</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/HeroViewControllerDelegate.html">HeroViewControllerDelegate</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/HeroConditionalContext.html">HeroConditionalContext</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/HeroTargetState.html">HeroTargetState</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content top-matter">
            <h1>Protocols</h1>
            <p>The following protocols are available globally.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A10CompatibleP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroCompatible" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A10CompatibleP">HeroCompatible</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroCompatible.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroCompatible</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroCompatible.swift#L25-L29">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A18CustomSnapshotViewP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroCustomSnapshotView" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A18CustomSnapshotViewP">HeroCustomSnapshotView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Allows a view to create their own custom snapshot when using <strong>Optimized</strong> snapshot</p>

                        <a href="Protocols/HeroCustomSnapshotView.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroCustomSnapshotView</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroContext.swift#L420-L422">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A12PreprocessorP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroPreprocessor" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A12PreprocessorP">HeroPreprocessor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroPreprocessor.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroPreprocessor</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroTypes.swift#L27-L30">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A8AnimatorP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroAnimator" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A8AnimatorP">HeroAnimator</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroAnimator.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroAnimator</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroTypes.swift#L32-L42">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A22ProgressUpdateObserverP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroProgressUpdateObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A22ProgressUpdateObserverP">HeroProgressUpdateObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroProgressUpdateObserver.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroProgressUpdateObserver</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroTypes.swift#L44-L46">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Hero@objc(pl)HeroViewControllerDelegate"></a>
                    <a name="//apple_ref/swift/Protocol/HeroViewControllerDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Hero@objc(pl)HeroViewControllerDelegate">HeroViewControllerDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroViewControllerDelegate.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroViewControllerDelegate</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/HeroViewControllerDelegate.swift#L27-L39">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A17StringConvertibleP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroStringConvertible" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A17StringConvertibleP">HeroStringConvertible</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroStringConvertible.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroStringConvertible</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/Parser/HeroStringConvertible.swift#L25-L27">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:4Hero0A18TransitionDelegateP"></a>
                    <a name="//apple_ref/swift/Protocol/HeroTransitionDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:4Hero0A18TransitionDelegateP">HeroTransitionDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/HeroTransitionDelegate.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HeroTransitionDelegate</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/HeroTransitions/Hero/tree/1.6.1//Sources/Transition/HeroTransition.swift#L48-L51">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>See <a class="link" href="https://github.com/HeroTransitions/Hero/blob/develop/LICENSE" target="_blank" rel="external">license</a> for more details.</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.5</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
